//
//  FGBaseViewController.m
//  Mi6App
//
//  Created by Mr.Lemon on 8/1/13.
//  Copyright (c) 2013 4G Secure. All rights reserved.
//

#import "FGBaseViewController.h"

@interface FGBaseViewController ()

@end

@implementation FGBaseViewController

 UIActivityIndicatorView *activityIndicator;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
    self.apiClient = [APIClient sharedClient];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

+(void)showLoadingIndicator{
    [activityIndicator startAnimating];

}

+(void)hideLoadingIndicator{
    [activityIndicator stopAnimating];
}

@end
